# 写代码，有如下字典，请按要求实现每个功能

dict = {'k1': "v1", "k2": "v2", "k3": [11,22,33]}

# a. 请循环输出所有的key
for key in dict.keys():
    print(key,end='\t')
print()

# b. 请循环输出所有的value
for value in dict.values():
    print(value,end='\t')
print()

# c. 请循环输出所有的key 和value
for key,value in dict.items():
    print(key,value,end='\t')
print()

# d. 请在字典中添加一个键值对，"k4": "v4"，输出添加后的字典
dict['k4'] = 'v4'
print(dict)

# e. 请在修改字典中 “k1” 对应的值为 “itsouce”，输出修改后的字典
dict['k1'] = 'itsource'
print(dict)